package com.skyworth.web.wechat.service;

import com.skyworth.web.wechat.entity.AccessTokenModel;
import com.skyworth.web.wechat.entity.PayDetailModel;
import com.skyworth.web.wechat.entity.TicketModel;
import com.skyworth.web.wechat.entity.WxUserInfoModel;

/**
 * Created by yuhaichao on 2016/8/24.
 */
public interface AccessTokenService {

    public AccessTokenModel saveToken(AccessTokenModel at);

    public AccessTokenModel findByAppId(String appId);

    public TicketModel saveTicket(TicketModel tm);

    public TicketModel findTicketByAppId(String appId);

    public WxUserInfoModel saveWxUserInfo(String userId);

    public WxUserInfoModel findUserByOpenid(String openid);

    public PayDetailModel savePayDetail(PayDetailModel pdm);

}
